package farmer.gui;

import java.awt.Graphics2D;

import core.gui.GlassPane;
import farmer.game.TutorialState;

public class TutorialGUI {
	
	private GlassPane glassPane;
	
	private TutorialButton tutorialButton;
	
	public TutorialGUI(TutorialState state){
		glassPane = state.getGlassPane();
		
		tutorialButton = new TutorialButton("Retour au menu", state);
		
		glassPane.addComponent(tutorialButton);
		tutorialButton.setPosition(325, 540);
		tutorialButton.setSize(150, 50);
	}
	
	public void render(Graphics2D g){
		glassPane.draw(g);
	}

}
